<%@ page import="com.fhd.constant.Constants" %>
<%@ page import="java.util.Objects" %><%--
  Created by IntelliJ IDEA.
  User: 44252
  Date: 2025/3/26
  Time: 17:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改个人信息</title>
</head>
<body>
<h1>客户信息更改（可以更改任意项信息）</h1>
<span>
<%
    String object = (String)request.getSession().getAttribute(Constants.UPDATE_MESSAGE);
    if (!Objects.isNull(object)) {
        out.print("<h2 style=\"color: red\">" + object + "</h2>");
        request.getSession().removeAttribute(Constants.UPDATE_MESSAGE);
    }

%>
</span>
<div>
    <a href="<%=request.getContextPath()%>/jsp/clientFrame.jsp">返回主页</a>
</div>
<br><br>
<div>
    <form action="<%=request.getContextPath()%>/client.do" method="post">
        <input type="hidden" name="method" value="clientUpdateInformation">
        <div>
            <label for="userCode">账号：</label>
            <input type="text" name="userCode" id="userCode" maxlength="20">
        </div>
        <br>
        <div>
            <label for="userPassword">密码：</label>
            <input type="password" name="userPassword" id="userPassword" maxlength="20">
        </div>
        <br>
        <div>
            <label for="userName">昵称：</label>
            <input type="text" name="userName" id="userName" maxlength="20">
        </div>
        <br>
        <div>
            <input type="submit">
        </div>
    </form>
</div>


</body>
</html>
